home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 6969 < prev    next >
Encoding:
Text File  |  1996-08-05  |  1.2 KB  |  41 lines

  1. Path: news1.h1.usa.pipeline.com!usenet
  2. From: grantp@usa.pipeline.com(Pete)
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: Borland Turbo C++ 3.0 for windows:Fatal error help
  5. Date: 20 Feb 1996 23:45:17 GMT
  6. Organization: Kalevi, Inc.
  7. Message-ID: <4gdmed$5lc@news1.usa.pipeline.com>
  8. NNTP-Posting-Host: pipe15.h1.usa.pipeline.com
  9. X-PipeUser: grantp
  10. X-PipeHub: usa.pipeline.com
  11. X-PipeGCOS: (Pete)
  12. X-Newsreader: Pipeline USA v3.3.0
  13.  
  14. On Feb 19, 1996 14:27:57 in article <Borland Turbo C++ 3.0 for
  15. windows:Fatal error help>, 'jlauro@erols.com (John Lauro)' wrote: 
  16.  
  17.  
  18. >When I write a program and try to run it, it gives me a fatal error saying
  19.  
  20. >that when you build a file useing owl.h that it must be defined windows30
  21. or  
  22. >windows31.  How do I do that? (I am a newbie please keep simple, if
  23. possible) 
  24. There are two ways. 
  25. 1.  Find an option where you can specify preprocessor 
  26. options and insert WIN31 there.  Not sure where this option 
  27. is in TC30, and if you can't find it, resort to #2 below. 
  28.  
  29. 2.  In each file in which you include OWL files, insert the  
  30. preprocessor definition WIN31 ahead of owl.  For example: 
  31.  
  32. #define WIN31 
  33. #include <owl.h> 
  34.  
  35. -- 
  36. Pete Grant 
  37. Kalevi, Inc. 
  38. Software Engineering & development
  39.